/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.ipti.br.tag.bo;

import org.ipti.br.tag.dao.PersonageHolidayCalendarFacade;
import org.ipti.br.tag.entity.PersonageHolidayCalendar;
import java.io.Serializable;
import java.util.List;
import javax.inject.Inject;
import javax.ejb.Stateless;

/**
 *
 * @author root
 */
@Stateless
public class PersonageHolidayCalendarBO implements Serializable {

    @Inject
    private PersonageHolidayCalendarFacade personageHolidayCalendarDAO;

    public PersonageHolidayCalendarFacade getPersonageHolidayCalendarDAO() {
        return personageHolidayCalendarDAO;
    }

    public void create(PersonageHolidayCalendar personageHolidayCalendar) {
        getPersonageHolidayCalendarDAO().create(personageHolidayCalendar);
    }

    public void edit(PersonageHolidayCalendar personageHolidayCalendar) {
        getPersonageHolidayCalendarDAO().edit(personageHolidayCalendar);
    }

    public void remove(PersonageHolidayCalendar personageHolidayCalendar) {
        getPersonageHolidayCalendarDAO().remove(personageHolidayCalendar);
    }

    public PersonageHolidayCalendar find(Object id) {
        return getPersonageHolidayCalendarDAO().find(id);
    }

    public List<PersonageHolidayCalendar> findAll() {
        return getPersonageHolidayCalendarDAO().findAll();
    }

    public void editForSynchronization(PersonageHolidayCalendar personageHolidayCalendar) {
        getPersonageHolidayCalendarDAO().editForSynchronization(personageHolidayCalendar);
    }
}
